package vitaliy.bondar.diamondcave;

import org.andengine.opengl.texture.region.ITiledTextureRegion;
import org.andengine.opengl.vbo.VertexBufferObjectManager;

public class GameObject extends AnimatedCellEntity{

	private Type mType;
	protected GameScene m_scene;
	
    public GameObject( GameScene scene, final Type type, final int pCellX, final int pCellY
    		, final ITiledTextureRegion pTiledTextureRegion
    		, final VertexBufferObjectManager vbom) {
        super( pCellX, pCellY, CELL_WIDTH, CELL_HEIGHT, pTiledTextureRegion, vbom );
        
        mType = type;
        m_scene = scene;
    }
    
    public enum Type {
        PLAYER, GROUND, STONE, WALL, JEWEL, ENEMY;
    }
    
    final public Type type()
    {
    	return mType;
    }
    
    public void onPlayerContact()
    {}
}
